package com.res.share.model;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 友链接
 * </p>
 *
 * @author astupidcoder
 * @since 2021-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("res_link")
public class ResLink extends Model {
    private static final long serialVersionUID = 1L;
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;
    @TableField("LINK_NAME")
    private String linkName;
    @TableField("LINK_URL")
    private String linkUrl;
    /**
     * 0-申请中 1-批准
     */
    @TableField("STATUS")
    private String status;
    @TableLogic(value = "0", delval = "1")
    @TableField("IS_DEL")
    private Integer isDel;
}
